home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 551-575 / disk_572 / wbstart / wbstart.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  1KB  |  32 lines

  1. /*
  2.  * WBStart.h   V1.0
  3.  *
  4.  * WBStart-Handler data structure definition
  5.  *
  6.  * (c) 1991 by Stefan Becker
  7.  *
  8.  */
  9.  
  10. #include <dos/dos.h>
  11. #include <exec/ports.h>
  12. #include <workbench/startup.h>
  13.  
  14. /* Structure to send to the WBStart-Handler message port                   */
  15. /* - wbsm_Name should be relative to wbsm_DirLock                          */
  16. /* - wbsm_Stack is used as return field (TRUE == program has been started) */
  17. struct WBStartMsg {
  18.                    struct Message  wbsm_Msg;
  19.                    char           *wbsm_Name;    /* Name of the program */
  20.                    BPTR            wbsm_DirLock; /* Directory lock */
  21.                    ULONG           wbsm_Stack;   /* Stack size */
  22.                    LONG            wbsm_Prio;    /* Process priority */
  23.                    ULONG           wbsm_NumArgs; /* # of Args in ArgList */
  24.                    struct WBArg   *wbsm_ArgList; /* Pointer to Arguments */
  25.                   };
  26.  
  27. /* Name of the handler message port */
  28. #define WBS_PORTNAME "WBStart-Handler Port"
  29.  
  30. /* Default name for the WBStart-Handler binary */
  31. #define WBS_LOADNAME "L:WBStart-Handler"
  32.